<?php
class Category_model extends CI_Model{
	
	function __construct() {
        parent::__construct();
    }
        
    public function get_category_list(){
    	$sql = "SELECT * FROM `category`";
    	$query = $this->db->query($sql);
    	if ($query->num_rows > 0){
    		return $query->result_array();
    	}else{
    		return FALSE;
    	}
    }
}

/* End of file category_model.php */
/* Location: ./application/models/scategory_model.php */